package com.zry.admin.controller.damage;


import com.zry.admin.query.DamageListGoodsQuery;
import com.zry.admin.service.IDamageListGoodsService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Map;


 /**
 * @author 张瑞洋
 * @title: CustomerReturnListGoodsController
 * @projectName zry_jxc
 * @description: 报损单商品表 前端控制器
 * @date 2022/1/23 23:45
 */
@Controller
@RequestMapping("/damageListGoods")
public class DamageListGoodsController {

    @Resource
    private IDamageListGoodsService damageListGoodsService;

    @RequestMapping("list")
    @ResponseBody
    public Map<String,Object > damageListGoodsList(DamageListGoodsQuery damageListGoodsQuery){
        return damageListGoodsService.damageListGoodsList(damageListGoodsQuery);
    }
}
